Telegram Group & Telegram Channel
🖥 xUnit — фреймворк и CLI для юнит-тестирования .NET-приложений

dotnet add package xunit --version 2.9.0

Если кто вдруг не использовал xUnit для тестирования своих приложений, то самое время это сделать — это неплохой и проверенный временем инструмент.

Особенности xUnit:
— проверка исключений делается ассертами, а не атрибутами, что больше соответствует стилю AAA (Assert.Throws, Record.Exception). Внутри исключения ловятся try-catch блоком.

— вместо специальных атрибутов xUnit использует естественные возможности C# (IDisposable, IClassFixture, ICollectionFixture)

🖥 GitHub
🟡 Быстрый старт

@csharp_1001_notes
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/csharp_1001_notes/509
Create:
Last Update:

🖥 xUnit — фреймворк и CLI для юнит-тестирования .NET-приложений

dotnet add package xunit --version 2.9.0

Если кто вдруг не использовал xUnit для тестирования своих приложений, то самое время это сделать — это неплохой и проверенный временем инструмент.

Особенности xUnit:
— проверка исключений делается ассертами, а не атрибутами, что больше соответствует стилю AAA (Assert.Throws, Record.Exception). Внутри исключения ловятся try-catch блоком.

— вместо специальных атрибутов xUnit использует естественные возможности C# (IDisposable, IClassFixture, ICollectionFixture)

🖥 GitHub
🟡 Быстрый старт

@csharp_1001_notes

BY C# 1001 notes






Share with your friend now:
tg-me.com/csharp_1001_notes/509

View MORE
Open in Telegram


C 1001 notes Telegram | DID YOU KNOW?

Date: |

Dump Scam in Leaked Telegram Chat

A leaked Telegram discussion by 50 so-called crypto influencers has exposed the extraordinary steps they take in order to profit on the back off unsuspecting defi investors. According to a leaked screenshot of the chat, an elaborate plan to defraud defi investors using the worthless “$Few” tokens had been hatched. $Few tokens would be airdropped to some of the influencers who in turn promoted these to unsuspecting followers on Twitter.

Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.

C 1001 notes from us


Telegram C# 1001 notes
FROM USA